<?php

namespace GamesBundle\Controller;

use GamesBundle\Services\Upload;
use GamesBundle\Services\YunxinServer;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class YunxinController extends Controller
{
    private $yunxinServer;
    public function _initialize()
    {


    }
    public function createUserAction()
    {
        $result = $this->yunxinServer->getUinfoss(array('asdsadsa'));
        dump($result);exit;
        return $this->render('GamesBundle:Yunxin:create_user.html.twig', array(
            // ...
        ));
    }

    public function getUserAction()
    {
        return $this->render('GamesBundle:Yunxin:get_user.html.twig', array(
            // ...
        ));
    }

}
